package com.google.p.code.springscim.client;

import com.google.p.code.springscim.client.exception.InternalServerErrorException;
import com.google.p.code.springscim.client.exception.NotFoundException;
import com.google.p.code.springscim.client.schema.ScimQueryParameter;
import com.google.p.code.springscim.client.schema.model.ScimGroup;

public interface ScimGroupService {

    public ScimGroup findById(String id) throws NotFoundException;;
    
    public void addGroup(ScimGroup group) throws InternalServerErrorException;
    
    public void updateGroup(String id, ScimGroup group) throws InternalServerErrorException;
    
    public void deleteById(String id) throws InternalServerErrorException;
    
    public ScimGroup getGroups(ScimQueryParameter param);
    
}
